.class Lcom/waiqin365/lightwork/tracker/at;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/baidu/mapapi/map/BaiduMap$OnMapStatusChangeListener;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightwork/tracker/ao;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightwork/tracker/ao;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightwork/tracker/at;->a:Lcom/waiqin365/lightwork/tracker/ao;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onMapStatusChange(Lcom/baidu/mapapi/map/MapStatus;)V
    .locals 0

    return-void
.end method

.method public onMapStatusChangeFinish(Lcom/baidu/mapapi/map/MapStatus;)V
    .locals 4

    const/high16 v2, 0x41200000    # 10.0f

    const/high16 v1, 0x40e00000    # 7.0f

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/at;->a:Lcom/waiqin365/lightwork/tracker/ao;

    invoke-static {v0}, Lcom/waiqin365/lightwork/tracker/ao;->d(Lcom/waiqin365/lightwork/tracker/ao;)F

    move-result v0

    cmpl-float v0, v0, v2

    if-lez v0, :cond_0

    iget v0, p1, Lcom/baidu/mapapi/map/MapStatus;->zoom:F

    cmpg-float v0, v0, v2

    if-lez v0, :cond_4

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/at;->a:Lcom/waiqin365/lightwork/tracker/ao;

    invoke-static {v0}, Lcom/waiqin365/lightwork/tracker/ao;->d(Lcom/waiqin365/lightwork/tracker/ao;)F

    move-result v0

    cmpg-float v0, v0, v2

    if-gtz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/at;->a:Lcom/waiqin365/lightwork/tracker/ao;

    invoke-static {v0}, Lcom/waiqin365/lightwork/tracker/ao;->d(Lcom/waiqin365/lightwork/tracker/ao;)F

    move-result v0

    cmpl-float v0, v0, v1

    if-ltz v0, :cond_1

    iget v0, p1, Lcom/baidu/mapapi/map/MapStatus;->zoom:F

    cmpg-float v0, v0, v1

    if-ltz v0, :cond_4

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/at;->a:Lcom/waiqin365/lightwork/tracker/ao;

    invoke-static {v0}, Lcom/waiqin365/lightwork/tracker/ao;->d(Lcom/waiqin365/lightwork/tracker/ao;)F

    move-result v0

    cmpg-float v0, v0, v2

    if-gtz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/at;->a:Lcom/waiqin365/lightwork/tracker/ao;

    invoke-static {v0}, Lcom/waiqin365/lightwork/tracker/ao;->d(Lcom/waiqin365/lightwork/tracker/ao;)F

    move-result v0

    cmpl-float v0, v0, v1

    if-ltz v0, :cond_2

    iget v0, p1, Lcom/baidu/mapapi/map/MapStatus;->zoom:F

    cmpl-float v0, v0, v2

    if-gez v0, :cond_4

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/at;->a:Lcom/waiqin365/lightwork/tracker/ao;

    invoke-static {v0}, Lcom/waiqin365/lightwork/tracker/ao;->d(Lcom/waiqin365/lightwork/tracker/ao;)F

    move-result v0

    cmpg-float v0, v0, v1

    if-gez v0, :cond_3

    iget v0, p1, Lcom/baidu/mapapi/map/MapStatus;->zoom:F

    cmpl-float v0, v0, v1

    if-gez v0, :cond_4

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/at;->a:Lcom/waiqin365/lightwork/tracker/ao;

    invoke-static {v0}, Lcom/waiqin365/lightwork/tracker/ao;->d(Lcom/waiqin365/lightwork/tracker/ao;)F

    move-result v0

    cmpl-float v0, v0, v1

    if-lez v0, :cond_5

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/at;->a:Lcom/waiqin365/lightwork/tracker/ao;

    invoke-static {v0}, Lcom/waiqin365/lightwork/tracker/ao;->e(Lcom/waiqin365/lightwork/tracker/ao;)Lcom/baidu/mapapi/model/LatLng;

    move-result-object v0

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/at;->a:Lcom/waiqin365/lightwork/tracker/ao;

    invoke-static {v0}, Lcom/waiqin365/lightwork/tracker/ao;->e(Lcom/waiqin365/lightwork/tracker/ao;)Lcom/baidu/mapapi/model/LatLng;

    move-result-object v0

    iget-wide v0, v0, Lcom/baidu/mapapi/model/LatLng;->latitude:D

    iget-object v2, p1, Lcom/baidu/mapapi/map/MapStatus;->bound:Lcom/baidu/mapapi/model/LatLngBounds;

    invoke-virtual {v2}, Lcom/baidu/mapapi/model/LatLngBounds;->getCenter()Lcom/baidu/mapapi/model/LatLng;

    move-result-object v2

    iget-wide v2, v2, Lcom/baidu/mapapi/model/LatLng;->latitude:D

    cmpl-double v0, v0, v2

    if-nez v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/at;->a:Lcom/waiqin365/lightwork/tracker/ao;

    invoke-static {v0}, Lcom/waiqin365/lightwork/tracker/ao;->e(Lcom/waiqin365/lightwork/tracker/ao;)Lcom/baidu/mapapi/model/LatLng;

    move-result-object v0

    iget-wide v0, v0, Lcom/baidu/mapapi/model/LatLng;->longitude:D

    iget-object v2, p1, Lcom/baidu/mapapi/map/MapStatus;->bound:Lcom/baidu/mapapi/model/LatLngBounds;

    invoke-virtual {v2}, Lcom/baidu/mapapi/model/LatLngBounds;->getCenter()Lcom/baidu/mapapi/model/LatLng;

    move-result-object v2

    iget-wide v2, v2, Lcom/baidu/mapapi/model/LatLng;->longitude:D

    cmpl-double v0, v0, v2

    if-eqz v0, :cond_5

    :cond_4
    new-instance v0, Lcom/waiqin365/lightwork/tracker/au;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightwork/tracker/au;-><init>(Lcom/waiqin365/lightwork/tracker/at;)V

    invoke-virtual {v0}, Lcom/waiqin365/lightwork/tracker/au;->start()V

    :cond_5
    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/at;->a:Lcom/waiqin365/lightwork/tracker/ao;

    iget v1, p1, Lcom/baidu/mapapi/map/MapStatus;->zoom:F

    invoke-static {v0, v1}, Lcom/waiqin365/lightwork/tracker/ao;->a(Lcom/waiqin365/lightwork/tracker/ao;F)F

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/at;->a:Lcom/waiqin365/lightwork/tracker/ao;

    iget-object v1, p1, Lcom/baidu/mapapi/map/MapStatus;->bound:Lcom/baidu/mapapi/model/LatLngBounds;

    invoke-virtual {v1}, Lcom/baidu/mapapi/model/LatLngBounds;->getCenter()Lcom/baidu/mapapi/model/LatLng;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/waiqin365/lightwork/tracker/ao;->a(Lcom/waiqin365/lightwork/tracker/ao;Lcom/baidu/mapapi/model/LatLng;)Lcom/baidu/mapapi/model/LatLng;

    return-void
.end method

.method public onMapStatusChangeStart(Lcom/baidu/mapapi/map/MapStatus;)V
    .locals 0

    return-void
.end method
